<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 300px;
            line-height: 30px;
            color: red;
            background-color: skyblue;
        }
    </style>
</head>

<body>
    <div>借口</div>
    <script>
        // 需求：点击div 控制台输出求你别说错过我其实亦爱我
        let div = document.querySelector('div');
        div.onclick = function () {
            if (div.innerHTML == '借口') {
                div.innerHTML = '翻着我们的照片';
            } else if( div.innerHTML == '翻着我们的照片'){
                div.innerHTML = '就算是我不懂';
            }else{
                div.innerHTML ='借口'
            }


        }
    </script>
</body>

</html>